<script setup lang="ts">
import { TabPane, TabPaneProps } from "ant-design-vue"

export type Props = TabPaneProps

const props = defineProps<Props>()

const slots = defineSlots<InstanceType<typeof TabPane>["$slots"]>()
</script>

<template>
  <TabPane v-bind="props">
    <template v-for="(_, key) in slots" :key="key" #[key]="params">
      <slot :name="key" :key="key" v-bind="params"></slot>
    </template>
  </TabPane>
</template>
